package com.desksoft.ecommerce.entity.logistics.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class QuotedpricedExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public QuotedpricedExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBillnoIsNull() {
            addCriterion("BillNo is null");
            return (Criteria) this;
        }

        public Criteria andBillnoIsNotNull() {
            addCriterion("BillNo is not null");
            return (Criteria) this;
        }

        public Criteria andBillnoEqualTo(String value) {
            addCriterion("BillNo =", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoNotEqualTo(String value) {
            addCriterion("BillNo <>", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoGreaterThan(String value) {
            addCriterion("BillNo >", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoGreaterThanOrEqualTo(String value) {
            addCriterion("BillNo >=", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoLessThan(String value) {
            addCriterion("BillNo <", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoLessThanOrEqualTo(String value) {
            addCriterion("BillNo <=", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoLike(String value) {
            addCriterion("BillNo like", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoNotLike(String value) {
            addCriterion("BillNo not like", value, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoIn(List<String> values) {
            addCriterion("BillNo in", values, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoNotIn(List<String> values) {
            addCriterion("BillNo not in", values, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoBetween(String value1, String value2) {
            addCriterion("BillNo between", value1, value2, "billno");
            return (Criteria) this;
        }

        public Criteria andBillnoNotBetween(String value1, String value2) {
            addCriterion("BillNo not between", value1, value2, "billno");
            return (Criteria) this;
        }

        public Criteria andItemcodeIsNull() {
            addCriterion("ItemCode is null");
            return (Criteria) this;
        }

        public Criteria andItemcodeIsNotNull() {
            addCriterion("ItemCode is not null");
            return (Criteria) this;
        }

        public Criteria andItemcodeEqualTo(String value) {
            addCriterion("ItemCode =", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeNotEqualTo(String value) {
            addCriterion("ItemCode <>", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeGreaterThan(String value) {
            addCriterion("ItemCode >", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ItemCode >=", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeLessThan(String value) {
            addCriterion("ItemCode <", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeLessThanOrEqualTo(String value) {
            addCriterion("ItemCode <=", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeLike(String value) {
            addCriterion("ItemCode like", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeNotLike(String value) {
            addCriterion("ItemCode not like", value, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeIn(List<String> values) {
            addCriterion("ItemCode in", values, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeNotIn(List<String> values) {
            addCriterion("ItemCode not in", values, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeBetween(String value1, String value2) {
            addCriterion("ItemCode between", value1, value2, "itemcode");
            return (Criteria) this;
        }

        public Criteria andItemcodeNotBetween(String value1, String value2) {
            addCriterion("ItemCode not between", value1, value2, "itemcode");
            return (Criteria) this;
        }

        public Criteria andListnoIsNull() {
            addCriterion("ListNo is null");
            return (Criteria) this;
        }

        public Criteria andListnoIsNotNull() {
            addCriterion("ListNo is not null");
            return (Criteria) this;
        }

        public Criteria andListnoEqualTo(String value) {
            addCriterion("ListNo =", value, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoNotEqualTo(String value) {
            addCriterion("ListNo <>", value, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoGreaterThan(String value) {
            addCriterion("ListNo >", value, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoGreaterThanOrEqualTo(String value) {
            addCriterion("ListNo >=", value, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoLessThan(String value) {
            addCriterion("ListNo <", value, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoLessThanOrEqualTo(String value) {
            addCriterion("ListNo <=", value, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoLike(String value) {
            addCriterion("ListNo like", value, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoNotLike(String value) {
            addCriterion("ListNo not like", value, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoIn(List<String> values) {
            addCriterion("ListNo in", values, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoNotIn(List<String> values) {
            addCriterion("ListNo not in", values, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoBetween(String value1, String value2) {
            addCriterion("ListNo between", value1, value2, "listno");
            return (Criteria) this;
        }

        public Criteria andListnoNotBetween(String value1, String value2) {
            addCriterion("ListNo not between", value1, value2, "listno");
            return (Criteria) this;
        }

        public Criteria andQtyIsNull() {
            addCriterion("Qty is null");
            return (Criteria) this;
        }

        public Criteria andQtyIsNotNull() {
            addCriterion("Qty is not null");
            return (Criteria) this;
        }

        public Criteria andQtyEqualTo(BigDecimal value) {
            addCriterion("Qty =", value, "qty");
            return (Criteria) this;
        }

        public Criteria andQtyNotEqualTo(BigDecimal value) {
            addCriterion("Qty <>", value, "qty");
            return (Criteria) this;
        }

        public Criteria andQtyGreaterThan(BigDecimal value) {
            addCriterion("Qty >", value, "qty");
            return (Criteria) this;
        }

        public Criteria andQtyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Qty >=", value, "qty");
            return (Criteria) this;
        }

        public Criteria andQtyLessThan(BigDecimal value) {
            addCriterion("Qty <", value, "qty");
            return (Criteria) this;
        }

        public Criteria andQtyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Qty <=", value, "qty");
            return (Criteria) this;
        }

        public Criteria andQtyIn(List<BigDecimal> values) {
            addCriterion("Qty in", values, "qty");
            return (Criteria) this;
        }

        public Criteria andQtyNotIn(List<BigDecimal> values) {
            addCriterion("Qty not in", values, "qty");
            return (Criteria) this;
        }

        public Criteria andQtyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Qty between", value1, value2, "qty");
            return (Criteria) this;
        }

        public Criteria andQtyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Qty not between", value1, value2, "qty");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceIsNull() {
            addCriterion("QuotedPrice is null");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceIsNotNull() {
            addCriterion("QuotedPrice is not null");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceEqualTo(BigDecimal value) {
            addCriterion("QuotedPrice =", value, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceNotEqualTo(BigDecimal value) {
            addCriterion("QuotedPrice <>", value, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceGreaterThan(BigDecimal value) {
            addCriterion("QuotedPrice >", value, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("QuotedPrice >=", value, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceLessThan(BigDecimal value) {
            addCriterion("QuotedPrice <", value, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("QuotedPrice <=", value, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceIn(List<BigDecimal> values) {
            addCriterion("QuotedPrice in", values, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceNotIn(List<BigDecimal> values) {
            addCriterion("QuotedPrice not in", values, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("QuotedPrice between", value1, value2, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andQuotedpriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("QuotedPrice not between", value1, value2, "quotedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceIsNull() {
            addCriterion("AcceptedPrice is null");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceIsNotNull() {
            addCriterion("AcceptedPrice is not null");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceEqualTo(BigDecimal value) {
            addCriterion("AcceptedPrice =", value, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceNotEqualTo(BigDecimal value) {
            addCriterion("AcceptedPrice <>", value, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceGreaterThan(BigDecimal value) {
            addCriterion("AcceptedPrice >", value, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AcceptedPrice >=", value, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceLessThan(BigDecimal value) {
            addCriterion("AcceptedPrice <", value, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AcceptedPrice <=", value, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceIn(List<BigDecimal> values) {
            addCriterion("AcceptedPrice in", values, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceNotIn(List<BigDecimal> values) {
            addCriterion("AcceptedPrice not in", values, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AcceptedPrice between", value1, value2, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andAcceptedpriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AcceptedPrice not between", value1, value2, "acceptedprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceIsNull() {
            addCriterion("ApplyPrice is null");
            return (Criteria) this;
        }

        public Criteria andApplypriceIsNotNull() {
            addCriterion("ApplyPrice is not null");
            return (Criteria) this;
        }

        public Criteria andApplypriceEqualTo(BigDecimal value) {
            addCriterion("ApplyPrice =", value, "applyprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceNotEqualTo(BigDecimal value) {
            addCriterion("ApplyPrice <>", value, "applyprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceGreaterThan(BigDecimal value) {
            addCriterion("ApplyPrice >", value, "applyprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ApplyPrice >=", value, "applyprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceLessThan(BigDecimal value) {
            addCriterion("ApplyPrice <", value, "applyprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ApplyPrice <=", value, "applyprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceIn(List<BigDecimal> values) {
            addCriterion("ApplyPrice in", values, "applyprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceNotIn(List<BigDecimal> values) {
            addCriterion("ApplyPrice not in", values, "applyprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ApplyPrice between", value1, value2, "applyprice");
            return (Criteria) this;
        }

        public Criteria andApplypriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ApplyPrice not between", value1, value2, "applyprice");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateIsNull() {
            addCriterion("AppAndNormProfRate is null");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateIsNotNull() {
            addCriterion("AppAndNormProfRate is not null");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateEqualTo(BigDecimal value) {
            addCriterion("AppAndNormProfRate =", value, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateNotEqualTo(BigDecimal value) {
            addCriterion("AppAndNormProfRate <>", value, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateGreaterThan(BigDecimal value) {
            addCriterion("AppAndNormProfRate >", value, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AppAndNormProfRate >=", value, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateLessThan(BigDecimal value) {
            addCriterion("AppAndNormProfRate <", value, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AppAndNormProfRate <=", value, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateIn(List<BigDecimal> values) {
            addCriterion("AppAndNormProfRate in", values, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateNotIn(List<BigDecimal> values) {
            addCriterion("AppAndNormProfRate not in", values, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AppAndNormProfRate between", value1, value2, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandnormprofrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AppAndNormProfRate not between", value1, value2, "appandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateIsNull() {
            addCriterion("AppAndBaseProfRate is null");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateIsNotNull() {
            addCriterion("AppAndBaseProfRate is not null");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateEqualTo(BigDecimal value) {
            addCriterion("AppAndBaseProfRate =", value, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateNotEqualTo(BigDecimal value) {
            addCriterion("AppAndBaseProfRate <>", value, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateGreaterThan(BigDecimal value) {
            addCriterion("AppAndBaseProfRate >", value, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AppAndBaseProfRate >=", value, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateLessThan(BigDecimal value) {
            addCriterion("AppAndBaseProfRate <", value, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AppAndBaseProfRate <=", value, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateIn(List<BigDecimal> values) {
            addCriterion("AppAndBaseProfRate in", values, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateNotIn(List<BigDecimal> values) {
            addCriterion("AppAndBaseProfRate not in", values, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AppAndBaseProfRate between", value1, value2, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandbaseprofrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AppAndBaseProfRate not between", value1, value2, "appandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateIsNull() {
            addCriterion("AppAndPurchProfRate is null");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateIsNotNull() {
            addCriterion("AppAndPurchProfRate is not null");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateEqualTo(BigDecimal value) {
            addCriterion("AppAndPurchProfRate =", value, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateNotEqualTo(BigDecimal value) {
            addCriterion("AppAndPurchProfRate <>", value, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateGreaterThan(BigDecimal value) {
            addCriterion("AppAndPurchProfRate >", value, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AppAndPurchProfRate >=", value, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateLessThan(BigDecimal value) {
            addCriterion("AppAndPurchProfRate <", value, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AppAndPurchProfRate <=", value, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateIn(List<BigDecimal> values) {
            addCriterion("AppAndPurchProfRate in", values, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateNotIn(List<BigDecimal> values) {
            addCriterion("AppAndPurchProfRate not in", values, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AppAndPurchProfRate between", value1, value2, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andAppandpurchprofrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AppAndPurchProfRate not between", value1, value2, "appandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplypriceIsNull() {
            addCriterion("ReplyPrice is null");
            return (Criteria) this;
        }

        public Criteria andReplypriceIsNotNull() {
            addCriterion("ReplyPrice is not null");
            return (Criteria) this;
        }

        public Criteria andReplypriceEqualTo(BigDecimal value) {
            addCriterion("ReplyPrice =", value, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplypriceNotEqualTo(BigDecimal value) {
            addCriterion("ReplyPrice <>", value, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplypriceGreaterThan(BigDecimal value) {
            addCriterion("ReplyPrice >", value, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplypriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ReplyPrice >=", value, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplypriceLessThan(BigDecimal value) {
            addCriterion("ReplyPrice <", value, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplypriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ReplyPrice <=", value, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplypriceIn(List<BigDecimal> values) {
            addCriterion("ReplyPrice in", values, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplypriceNotIn(List<BigDecimal> values) {
            addCriterion("ReplyPrice not in", values, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplypriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ReplyPrice between", value1, value2, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplypriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ReplyPrice not between", value1, value2, "replyprice");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateIsNull() {
            addCriterion("ReplAndNormProfRate is null");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateIsNotNull() {
            addCriterion("ReplAndNormProfRate is not null");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateEqualTo(BigDecimal value) {
            addCriterion("ReplAndNormProfRate =", value, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateNotEqualTo(BigDecimal value) {
            addCriterion("ReplAndNormProfRate <>", value, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateGreaterThan(BigDecimal value) {
            addCriterion("ReplAndNormProfRate >", value, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ReplAndNormProfRate >=", value, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateLessThan(BigDecimal value) {
            addCriterion("ReplAndNormProfRate <", value, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ReplAndNormProfRate <=", value, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateIn(List<BigDecimal> values) {
            addCriterion("ReplAndNormProfRate in", values, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateNotIn(List<BigDecimal> values) {
            addCriterion("ReplAndNormProfRate not in", values, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ReplAndNormProfRate between", value1, value2, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandnormprofrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ReplAndNormProfRate not between", value1, value2, "replandnormprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateIsNull() {
            addCriterion("ReplAndBaseProfRate is null");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateIsNotNull() {
            addCriterion("ReplAndBaseProfRate is not null");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateEqualTo(BigDecimal value) {
            addCriterion("ReplAndBaseProfRate =", value, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateNotEqualTo(BigDecimal value) {
            addCriterion("ReplAndBaseProfRate <>", value, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateGreaterThan(BigDecimal value) {
            addCriterion("ReplAndBaseProfRate >", value, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ReplAndBaseProfRate >=", value, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateLessThan(BigDecimal value) {
            addCriterion("ReplAndBaseProfRate <", value, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ReplAndBaseProfRate <=", value, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateIn(List<BigDecimal> values) {
            addCriterion("ReplAndBaseProfRate in", values, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateNotIn(List<BigDecimal> values) {
            addCriterion("ReplAndBaseProfRate not in", values, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ReplAndBaseProfRate between", value1, value2, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandbaseprofrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ReplAndBaseProfRate not between", value1, value2, "replandbaseprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateIsNull() {
            addCriterion("ReplAndPurchProfRate is null");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateIsNotNull() {
            addCriterion("ReplAndPurchProfRate is not null");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateEqualTo(BigDecimal value) {
            addCriterion("ReplAndPurchProfRate =", value, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateNotEqualTo(BigDecimal value) {
            addCriterion("ReplAndPurchProfRate <>", value, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateGreaterThan(BigDecimal value) {
            addCriterion("ReplAndPurchProfRate >", value, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ReplAndPurchProfRate >=", value, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateLessThan(BigDecimal value) {
            addCriterion("ReplAndPurchProfRate <", value, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ReplAndPurchProfRate <=", value, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateIn(List<BigDecimal> values) {
            addCriterion("ReplAndPurchProfRate in", values, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateNotIn(List<BigDecimal> values) {
            addCriterion("ReplAndPurchProfRate not in", values, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ReplAndPurchProfRate between", value1, value2, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andReplandpurchprofrateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ReplAndPurchProfRate not between", value1, value2, "replandpurchprofrate");
            return (Criteria) this;
        }

        public Criteria andSaleqty1IsNull() {
            addCriterion("SaleQty1 is null");
            return (Criteria) this;
        }

        public Criteria andSaleqty1IsNotNull() {
            addCriterion("SaleQty1 is not null");
            return (Criteria) this;
        }

        public Criteria andSaleqty1EqualTo(BigDecimal value) {
            addCriterion("SaleQty1 =", value, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty1NotEqualTo(BigDecimal value) {
            addCriterion("SaleQty1 <>", value, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty1GreaterThan(BigDecimal value) {
            addCriterion("SaleQty1 >", value, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty1GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty1 >=", value, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty1LessThan(BigDecimal value) {
            addCriterion("SaleQty1 <", value, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty1LessThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty1 <=", value, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty1In(List<BigDecimal> values) {
            addCriterion("SaleQty1 in", values, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty1NotIn(List<BigDecimal> values) {
            addCriterion("SaleQty1 not in", values, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty1Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty1 between", value1, value2, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty1NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty1 not between", value1, value2, "saleqty1");
            return (Criteria) this;
        }

        public Criteria andSaleqty2IsNull() {
            addCriterion("SaleQty2 is null");
            return (Criteria) this;
        }

        public Criteria andSaleqty2IsNotNull() {
            addCriterion("SaleQty2 is not null");
            return (Criteria) this;
        }

        public Criteria andSaleqty2EqualTo(BigDecimal value) {
            addCriterion("SaleQty2 =", value, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty2NotEqualTo(BigDecimal value) {
            addCriterion("SaleQty2 <>", value, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty2GreaterThan(BigDecimal value) {
            addCriterion("SaleQty2 >", value, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty2GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty2 >=", value, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty2LessThan(BigDecimal value) {
            addCriterion("SaleQty2 <", value, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty2LessThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty2 <=", value, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty2In(List<BigDecimal> values) {
            addCriterion("SaleQty2 in", values, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty2NotIn(List<BigDecimal> values) {
            addCriterion("SaleQty2 not in", values, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty2Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty2 between", value1, value2, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty2NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty2 not between", value1, value2, "saleqty2");
            return (Criteria) this;
        }

        public Criteria andSaleqty3IsNull() {
            addCriterion("SaleQty3 is null");
            return (Criteria) this;
        }

        public Criteria andSaleqty3IsNotNull() {
            addCriterion("SaleQty3 is not null");
            return (Criteria) this;
        }

        public Criteria andSaleqty3EqualTo(BigDecimal value) {
            addCriterion("SaleQty3 =", value, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty3NotEqualTo(BigDecimal value) {
            addCriterion("SaleQty3 <>", value, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty3GreaterThan(BigDecimal value) {
            addCriterion("SaleQty3 >", value, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty3GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty3 >=", value, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty3LessThan(BigDecimal value) {
            addCriterion("SaleQty3 <", value, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty3LessThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty3 <=", value, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty3In(List<BigDecimal> values) {
            addCriterion("SaleQty3 in", values, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty3NotIn(List<BigDecimal> values) {
            addCriterion("SaleQty3 not in", values, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty3Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty3 between", value1, value2, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty3NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty3 not between", value1, value2, "saleqty3");
            return (Criteria) this;
        }

        public Criteria andSaleqty4IsNull() {
            addCriterion("SaleQty4 is null");
            return (Criteria) this;
        }

        public Criteria andSaleqty4IsNotNull() {
            addCriterion("SaleQty4 is not null");
            return (Criteria) this;
        }

        public Criteria andSaleqty4EqualTo(BigDecimal value) {
            addCriterion("SaleQty4 =", value, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty4NotEqualTo(BigDecimal value) {
            addCriterion("SaleQty4 <>", value, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty4GreaterThan(BigDecimal value) {
            addCriterion("SaleQty4 >", value, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty4GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty4 >=", value, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty4LessThan(BigDecimal value) {
            addCriterion("SaleQty4 <", value, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty4LessThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty4 <=", value, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty4In(List<BigDecimal> values) {
            addCriterion("SaleQty4 in", values, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty4NotIn(List<BigDecimal> values) {
            addCriterion("SaleQty4 not in", values, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty4Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty4 between", value1, value2, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty4NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty4 not between", value1, value2, "saleqty4");
            return (Criteria) this;
        }

        public Criteria andSaleqty5IsNull() {
            addCriterion("SaleQty5 is null");
            return (Criteria) this;
        }

        public Criteria andSaleqty5IsNotNull() {
            addCriterion("SaleQty5 is not null");
            return (Criteria) this;
        }

        public Criteria andSaleqty5EqualTo(BigDecimal value) {
            addCriterion("SaleQty5 =", value, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty5NotEqualTo(BigDecimal value) {
            addCriterion("SaleQty5 <>", value, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty5GreaterThan(BigDecimal value) {
            addCriterion("SaleQty5 >", value, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty5GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty5 >=", value, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty5LessThan(BigDecimal value) {
            addCriterion("SaleQty5 <", value, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty5LessThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty5 <=", value, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty5In(List<BigDecimal> values) {
            addCriterion("SaleQty5 in", values, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty5NotIn(List<BigDecimal> values) {
            addCriterion("SaleQty5 not in", values, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty5Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty5 between", value1, value2, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty5NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty5 not between", value1, value2, "saleqty5");
            return (Criteria) this;
        }

        public Criteria andSaleqty6IsNull() {
            addCriterion("SaleQty6 is null");
            return (Criteria) this;
        }

        public Criteria andSaleqty6IsNotNull() {
            addCriterion("SaleQty6 is not null");
            return (Criteria) this;
        }

        public Criteria andSaleqty6EqualTo(BigDecimal value) {
            addCriterion("SaleQty6 =", value, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSaleqty6NotEqualTo(BigDecimal value) {
            addCriterion("SaleQty6 <>", value, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSaleqty6GreaterThan(BigDecimal value) {
            addCriterion("SaleQty6 >", value, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSaleqty6GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty6 >=", value, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSaleqty6LessThan(BigDecimal value) {
            addCriterion("SaleQty6 <", value, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSaleqty6LessThanOrEqualTo(BigDecimal value) {
            addCriterion("SaleQty6 <=", value, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSaleqty6In(List<BigDecimal> values) {
            addCriterion("SaleQty6 in", values, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSaleqty6NotIn(List<BigDecimal> values) {
            addCriterion("SaleQty6 not in", values, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSaleqty6Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty6 between", value1, value2, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSaleqty6NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SaleQty6 not between", value1, value2, "saleqty6");
            return (Criteria) this;
        }

        public Criteria andSupplydateIsNull() {
            addCriterion("SupplyDate is null");
            return (Criteria) this;
        }

        public Criteria andSupplydateIsNotNull() {
            addCriterion("SupplyDate is not null");
            return (Criteria) this;
        }

        public Criteria andSupplydateEqualTo(Date value) {
            addCriterion("SupplyDate =", value, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplydateNotEqualTo(Date value) {
            addCriterion("SupplyDate <>", value, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplydateGreaterThan(Date value) {
            addCriterion("SupplyDate >", value, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplydateGreaterThanOrEqualTo(Date value) {
            addCriterion("SupplyDate >=", value, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplydateLessThan(Date value) {
            addCriterion("SupplyDate <", value, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplydateLessThanOrEqualTo(Date value) {
            addCriterion("SupplyDate <=", value, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplydateIn(List<Date> values) {
            addCriterion("SupplyDate in", values, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplydateNotIn(List<Date> values) {
            addCriterion("SupplyDate not in", values, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplydateBetween(Date value1, Date value2) {
            addCriterion("SupplyDate between", value1, value2, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplydateNotBetween(Date value1, Date value2) {
            addCriterion("SupplyDate not between", value1, value2, "supplydate");
            return (Criteria) this;
        }

        public Criteria andSupplycycleIsNull() {
            addCriterion("SupplyCycle is null");
            return (Criteria) this;
        }

        public Criteria andSupplycycleIsNotNull() {
            addCriterion("SupplyCycle is not null");
            return (Criteria) this;
        }

        public Criteria andSupplycycleEqualTo(String value) {
            addCriterion("SupplyCycle =", value, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleNotEqualTo(String value) {
            addCriterion("SupplyCycle <>", value, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleGreaterThan(String value) {
            addCriterion("SupplyCycle >", value, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleGreaterThanOrEqualTo(String value) {
            addCriterion("SupplyCycle >=", value, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleLessThan(String value) {
            addCriterion("SupplyCycle <", value, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleLessThanOrEqualTo(String value) {
            addCriterion("SupplyCycle <=", value, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleLike(String value) {
            addCriterion("SupplyCycle like", value, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleNotLike(String value) {
            addCriterion("SupplyCycle not like", value, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleIn(List<String> values) {
            addCriterion("SupplyCycle in", values, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleNotIn(List<String> values) {
            addCriterion("SupplyCycle not in", values, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleBetween(String value1, String value2) {
            addCriterion("SupplyCycle between", value1, value2, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andSupplycycleNotBetween(String value1, String value2) {
            addCriterion("SupplyCycle not between", value1, value2, "supplycycle");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}